package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("device_step_daily")
public class DeviceStepDaily implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    @Field("i")
    private String imei;

    private Integer num;

    private Double distance;

    private Double calorie;

    private String date;

    private Integer target;

    private Long updateTime;

    @Field("t")
    private Long time;

    private Date expiryAt;

}
